]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Actually update well menu filtering for review messages
authorColin Walters <walters@verbum.org>
Wed, 9 Sep 2009 21:28:52 +0000 (17:28 -0400)
committerColin Walters <walters@verbum.org>
Wed, 9 Sep 2009 21:28:52 +0000 (17:28 -0400)
My updates got lost due to accidentally being on a rebase branch.

js/ui/overview.js
js/ui/workspaces.js

index 1747da276a0f8c78ed4f6ed5cf1fe7f7d4f55ba6..4f50e6fe812626e3b84ccc45cae7e2583c664c02 100644 (file)
@@ -399,16 +399,16 @@ Overview.prototype = {
 
 
     /**
-     * beginApplicationWindowSelection:
+     * setApplicationWindowSelection:
      * @appid: Application identifier string
      *
-     * Enter a mode which shows only the widnows owned by the
+     * Enter a mode which shows only the windows owned by the
      * given application, and allow highlighting of a specific
      * window with setHighlightWindow().
      */
-    beginApplicationWindowSelection: function (appid) {
+    setApplicationWindowSelection: function (appid) {
         if (this._workspaces)
-            this._workspaces.beginApplicationWindowSelection(appid);
+            this._workspaces.setApplicationWindowSelection(appid);
     },
 
     //// Private methods ////
index a7707472ad65fd2304fef15b0aaaf958cef57f3c..5bd33a929ac5232807fbd1c25e3e34e335c4d75b 100644 (file)
@@ -1081,8 +1081,6 @@ Workspaces.prototype = {
     _init : function(width, height, x, y) {
         this.actor = new Clutter.Group();
 
-        this._appIdFilter = null;
-
         this._width = width;
         this._height = height;
         this._x = x;
@@ -1158,7 +1156,8 @@ Workspaces.prototype = {
         }
     },
 
-    beginApplicationWindowSelection: function (appId) {
+    // See comments in overview.js
+    setApplicationWindowSelection: function (appId) {
         let appSys = Shell.AppMonitor.get_default();
 
         let showOnlyWindows;
@@ -1171,7 +1170,6 @@ Workspaces.prototype = {
         } else {
             showOnlyWindows = null;
         }
-        this._appIdFilter = appId;
         for (let i = 0; i < this._workspaces.length; i++) {
             this._workspaces[i].setLightboxMode(showOnlyWindows != null);
             this._workspaces[i].setShowOnlyWindows(showOnlyWindows);